#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# @Project : chat_model 
# @File    : session_knowledge_schema.py
# @IDE     : PyCharm 
# @Author  :ZH
# @Time    : 2025/1/15 11:31
from typing import List, Optional

from pydantic import Field, BaseModel


class BaseSessionKnowledgeSchema(BaseModel):
    session_id: int = Field(description='会话id', title='session_id')
    knowledge_id: int = Field(description='知识库id', title='knowledge_id')
    user_id: int = Field(description='用户id', title='user_id')


class CreateSessionKnowledgeSchema(BaseModel):
    __doc__ = "创建会话和知识库绑定关系模式"


class UpdateSessionKnowledgeSchema(BaseModel):
    __doc__ = "更新会话和知识库绑定关系模式"

